package workshopdesign.Model;

import java.io.Serializable;
import java.util.Date;

public class DVD implements Serializable {

    private long id;
    private String title;
    private String director;
    private Date publicationDate;

    public DVD(long id, String title, String director, Date publicationDate) {
        this.id = id;
        this.title = title;
        this.director = director;
        this.publicationDate = publicationDate;
    }

    public long getId() {
        return id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getDirector() {
        return director;
    }

    public void setDirector(String director) {
        this.director = director;
    }

    public Date getPublicationDate() {
        return publicationDate;
    }

    public void setPublicationDate(Date publicationDate) {
        this.publicationDate = publicationDate;
    }
}
